home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #11 / Amiga Plus CD - 2004 - No. 11.iso / AmiSoft / Util / conv / Acvt.lha / Acvt 1.07 / sources / switches.h < prev    next >
C/C++ Source or Header  |  1999-06-10  |  1KB  |  39 lines

  1. //    This program is free software; you can redistribute it and/or modify
  2. //    it under the terms of the GNU General Public License as published by
  3. //    the Free Software Foundation; either version 2 of the License, or
  4. //    any later version.
  5. //
  6. //    This program is distributed in the hope that it will be useful,
  7. //    but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  9. //    GNU General Public License for more details.
  10. //
  11. //    You should have received a copy of the GNU General Public License
  12. //    along with this program; if not, write to the Free Software
  13. //    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  14. //
  15.  
  16. #ifndef __SWITCHES_H__
  17. #define __SWITCHES_H__
  18.  
  19. #include "wintypes.h"
  20.  
  21. typedef struct
  22. {
  23.     char* szName;
  24.     BOOL (*pfbSwitchFunction)( void* );
  25.     void* pPar1;
  26.     char* szPars;
  27.     char* szHelp;
  28. } SWITCH_REC;
  29.  
  30. BOOL SWITCHES_Init( SWITCH_REC*, int* pargc, char* argv[] );
  31. BOOL SWFN_HELP( void* );
  32. BOOL SWFN_BOOLT( void* );
  33. BOOL SWFN_BOOLF( void* );
  34. BOOL SWFN_NUMH( void* );
  35. BOOL SWFN_PATH( void* );
  36.  
  37. #endif
  38.  
  39.